package com.netcracker.studportal.server.dao;

import java.util.Collection;
import java.util.Map;
import java.util.List;

import com.netcracker.studportal.server.model.Student;

public interface StudentDAO {
	public void Add(Student  stud) throws Exception;
	public void Update(Student stud) throws Exception;
	public Student  getById(Long id) throws Exception;
	public void Delete(Student stud) throws Exception;
	public Collection<Student> getAll() throws Exception;
	public Collection<Student> getGetStudentsByExam(Long exam_id) throws Exception;
	public List<Map<String,String>> getGroupsByFaculty(Long faculty_id) throws Exception;
	public void AddExamToStudentGroup(Long exam_id,Integer course,Integer group_num,Long faculty_id) throws Exception;
}
